package com.logic.contract

import com.sinopec.basemodule.base.BaseView
import com.sinopec.basemodule.base.baseImpl.BasePImpl
import com.sinopec.basemodule.model.StockInApiRequestModel
import com.sinopec.basemodule.model.ErrorPalletCodeResultModel

/**
 * @author lwj
 * @ClassName: StockInRfidContract
 * @Description: 入库-rfid扫码界面
 */
interface StockInRfidContract {
    interface View : BaseView {
        /**
         * 确认入库结果
         */
        fun confirmStockInSuccess(
            allList: List<String>?,
            errorList: List<ErrorPalletCodeResultModel>?,
        )
    }

    abstract class Presenter(view: View) : BasePImpl<View>(view) {

        /**
         * 确认入库-编码校验
         */
        abstract fun confirmStockIn(model: StockInApiRequestModel)

    }
}